﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebLog.aspx.cs" Inherits="Web.admin.web.WebLog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../js/function.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="top_div">
        <div class="top_div_left" >
                <table>
                    <tr >
                        <td ><img src="../images/main_hl.gif" alt="" /></td>
                        <td ><img src="../images/main_hl2.gif" alt="" /></td>
                        <td class="topNav"><span>操作日志</span></td>
                        <td><img src="../images/main_hr.gif" alt="" /></td>
                    </tr>
                </table>
        </div>
    </div>
    <div class="middle_div">
        <div class="middle_left"></div>
        <div class="middle_middle">
            <div class="navigation"><span>首页&gt;日志管理&gt;操作日志</span></div>
             <div class="tools_box">
                <div class="tools_bar">
                    <a href="#"  class="tools_btn" onclick="checkAll(this);"><span><b class="checkAll">全选</b></span></a>
                    <asp:LinkButton runat="server" CssClass="tools_btn" ID="btn_Delete" OnClick="btnDelete_Click" OnClientClick="return confirm( '确定要删除这些记录吗？ ');"><span><b class="delete">批量删除</b></span></asp:LinkButton>
                </div>
            </div>
            <div class="content_table">
                <table class="msgtable">
                    <asp:Repeater ID="RpLog" runat="server">
                        <HeaderTemplate>
                            <tr>
                                <th>选择</th>
                                <th>编号</th>
                                <th>操作日志</th>
                                <th>操作用户</th>
                                <th>用户类型</th>
                                <th>IP地址</th>
                                <th>操作时间</th>
                            </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr>
                                <td><asp:CheckBox ID="CbChoose" CssClass="checkBox" runat="server" /></td>
                                <td><asp:Label ID="lb_id" runat="server" Text='<%#Eval("WbId") %>'></asp:Label></td>
                                <td><%#Eval("WbTitle")%></td>
                                <td><%#Eval("WbUserName")%></td>
                                <td><%#Eval("WbManageClass")%></td>
                                <td><%#Eval("WbIpAddress")%></td>
                                <td><%#DateTime.Parse(Eval("WbAddTime").ToString()).ToShortDateString()%></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </div>
            <div class="div_page">
                   <div class="div_page_size" >
                        <span>每页显示</span>
                        <asp:TextBox ID="tb_size"  runat="server" OnTextChanged="tb_size_Click" AutoPostBack="true" Width="40"></asp:TextBox>
                        <span>条</span>
                   </div>
                   <div class="div_page_Num">
                        <div class="div_a">
                            <label runat="server" id="lb_pageNum"></label>
                        </div>
                   </div>
            </div>
        </div>
        <div class="middle_right"></div>
    </div>
    </form>
</body>
</html>
